package com.bugman.managed;

/**
 *
 * @author Ediczech
 */
public class ApplicationBean extends BaseBean {

    public String getResource() {
        return RESOURCE_BUNDLE;
    }

    public boolean isIsLogged() {
        return isUserLogged();
    }

    public boolean isIsUser() {
        return isUserInRole("User") || isUserInRole("Developer") || isUserInRole("Admin");
    }

    public boolean isIsDeveloper() {
        return isUserInRole("Developer") || isUserInRole("Admin");
    }

    public boolean isIsAdmin() {
        return isUserInRole("Admin");
    }

}